package com.example.weather.ui.dashboard;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class DashboardViewModel extends ViewModel {
    private final MutableLiveData<String> cityName;

    public DashboardViewModel() {
        cityName = new MutableLiveData<>();
        cityName.setValue("背景");


    }
    public LiveData<String> getCityName() {
        return cityName;
    }

}